package com.example.shopping.entity;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Data;

import java.io.Serializable;

@Entity
@Table(name = "goods")
@Data
public class Goods implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    String gid;
    String goodsname;
    float price;
    int stock;
    String tcode;
}
